#ifndef PREF_WINDOW_H
#define PREF_WINDOW_H

#include <QDialog>
#include "timeobrowser.h"

namespace Ui {
    class Pref_Window;
}

class Pref_Window : public QDialog
{
    Q_OBJECT

public:
    explicit Pref_Window(QWidget *parent = 0);
    ~Pref_Window();


public slots:
    void Ajouter_Code();
    void Ajouter_Code(QString code_timeo);

private slots:
    void Supprimer_Code_Timeo();
    void show_ChoixWeb();
    void Save_Config();
protected:
    void showEvent(QShowEvent *event);


private:
    Ui::Pref_Window *ui;
    TimeoBrowser *fenetre_get_code ;
    QString *m_codeTimeo;
    void ChargerConfig();

};

#endif // PREF_WINDOW_H
